package com.example.my.meila.api;

import com.example.my.meila.entity.Global;
import com.example.my.meila.entity.Good;
import com.example.my.meila.entity.MakeUp;

import retrofit2.http.GET;
import rx.Observable;

/**
 * Created by My on 2016/10/25.
 */
public interface ApiService {
    public static final String BASE_URL = "http://api.meilapp.com/";

    String WORLD_URL = "meigou_v4/index?meila_client_id=00000000-74bf-dff4-ffff-ffff9d7fcebe&meila_version=2050303&tab=386b641a&sig=3f223d206ce6acc1304a15d0799842a4c16b09a5";
    @GET(WORLD_URL)
    Observable<Global> getGlobalData();


    String GOOD_URL = "index_v4/index_goods?adspace=indexfeed&aid=A08CFD3516A60000&channel=WanDouJia&device_model=M045&imei=864394010160143&limit=10&mac_address=A0%3A8C%3AFD%3A35%3A16%3AA6&meila_client_id=00000000-74bf-dff4-ffff-ffff9d7fcebe&meila_version=2050303&offset=0&os_version=4.4.2&reload=1&sig=f6d9660381bdb6ff8fb91f5b167e013396f89502";
    @GET(GOOD_URL)
    Observable<Good> getGoodData();

    String MAKEUP_URL="index_v4/index_makeups?limit=10&meila_client_id=00000000-74bf-dff4-ffff-ffff9d7fcebe&meila_version=2050303&offset=0&sig=60f96eb02f3eb30a0fc14fc7da9efb215115904e";
    @GET(MAKEUP_URL)
    Observable<MakeUp>getMakeUpData();


}
